/*     */ package btsm.bean;
/*     */ 
/*     */ import java.util.Map;
/*     */ 
/*     */ public class sysPro
/*     */ {
/*     */   private String strCLat;
/*     */   private String strCLng;
/*     */   private String strLoginbk;
/*     */   private String strMapKey;
/*     */   private String strOrgName;
/*     */   private String strPCenter;
/*     */   private String strPFilter;
/*     */   private String strRegCode;
/*     */   private String strUploadpath;
/*     */   private String strInstalldir;
/*     */   private Map mapBTSLIs;
/*     */   private Map mapInterconsys;
/*     */   private sysParam sParam;
/*     */   private sysParam InterconParam;
/*     */ 
/*     */   public sysPro()
/*     */   {
/*  12 */     prosInit();
/*     */   }
/*     */ 
/*     */   public String getCLat()
/*     */   {
/*  31 */     return this.strCLat;
/*     */   }
/*     */ 
/*     */   public String getCLng()
/*     */   {
/*  36 */     return this.strCLng;
/*     */   }
/*     */ 
/*     */   public String getLoginbk()
/*     */   {
/*  41 */     return this.strLoginbk;
/*     */   }
/*     */ 
/*     */   public String getMapKey()
/*     */   {
/*  46 */     return this.strMapKey;
/*     */   }
/*     */ 
/*     */   public String getOrgName()
/*     */   {
/*  51 */     return this.strOrgName;
/*     */   }
/*     */ 
/*     */   public String getPCenter()
/*     */   {
/*  56 */     return this.strPCenter;
/*     */   }
/*     */ 
/*     */   public String getPFilter()
/*     */   {
/*  61 */     return this.strPFilter;
/*     */   }
/*     */ 
/*     */   public String getRegCode()
/*     */   {
/*  66 */     return this.strRegCode;
/*     */   }
/*     */ 
/*     */   public String getUploadpath()
/*     */   {
/*  71 */     return this.strUploadpath;
/*     */   }
/*     */ 
/*     */   public String getInstalldir()
/*     */   {
/*  76 */     return this.strInstalldir;
/*     */   }
/*     */ 
/*     */   public Map getBtsLIs()
/*     */   {
/*     */     try {
/*  82 */       this.sParam = new sysParam("sysconfig");
/*  83 */       this.mapBTSLIs = this.sParam.getBtsLIs("btsl");
/*  84 */       this.sParam.releaseRes();
/*     */     } catch (Exception localException) {
/*     */     }
/*  87 */     return this.mapBTSLIs;
/*     */   }
/*     */ 
/*     */   public Map getInterconsys() {
/*     */     try {
/*  92 */       this.InterconParam = new sysParam("interconsys");
/*  93 */       this.mapInterconsys = this.InterconParam.getInterconsys();
/*  94 */       this.InterconParam.releaseRes();
/*     */     } catch (Exception localException) {
/*     */     }
/*  97 */     return this.mapInterconsys;
/*     */   }
/*     */ 
/*     */   public void prosInit() {
/*     */     try {
/* 102 */       this.sParam = new sysParam("sysconfig");
/* 103 */       this.strCLat = this.sParam.GetParam("clat");
/* 104 */       this.strCLng = this.sParam.GetParam("clng");
/* 105 */       this.strLoginbk = this.sParam.GetParam("loginbk");
/* 106 */       this.strMapKey = this.sParam.GetParam("mapkey");
/* 107 */       this.strOrgName = this.sParam.GetParam("orgname");
/* 108 */       this.strPCenter = this.sParam.GetParam("pcenter");
/* 109 */       this.strPFilter = this.sParam.GetParam("pfilter");
/* 110 */       this.strRegCode = this.sParam.GetParam("regcode");
/* 111 */       this.strUploadpath = this.sParam.GetParam("uploadpath");
/* 112 */       this.strInstalldir = this.sParam.GetParam("installdir");
/* 113 */       this.sParam.releaseRes();
/*     */     } catch (Exception e) {
/* 115 */       this.strCLat = "30";
/* 116 */       this.strCLng = "150";
/* 117 */       this.strLoginbk = "";
/* 118 */       this.strMapKey = "";
/* 119 */       this.strOrgName = "";
/* 120 */       this.strPCenter = "";
/* 121 */       this.strPFilter = "";
/* 122 */       this.strRegCode = "";
/* 123 */       this.strUploadpath = "";
/* 124 */       this.strInstalldir = "";
/*     */     }
/*     */   }
/*     */ 
/*     */   public void prosCenStore() {
/*     */     try {
/* 130 */       this.sParam = new sysParam("sysconfig");
/* 131 */       this.sParam.updateParam("clat", this.strCLat);
/* 132 */       this.sParam.updateParam("clng", this.strCLng);
/* 133 */       this.sParam.updateParam("pfilter", this.strPFilter);
/* 134 */       this.sParam.updateParam("pcenter", this.strPCenter);
/*     */ 
/* 136 */       this.sParam.releaseRes();
/*     */     } catch (Exception localException) {
/*     */     }
/*     */   }
/*     */ 
/*     */   public void prosSysStore() {
/*     */     try {
/* 143 */       this.sParam = new sysParam("sysconfig");
/*     */ 
/* 145 */       this.strUploadpath = this.strUploadpath.replace('\\', '/');
/* 146 */       this.strInstalldir = this.strInstalldir.replace('\\', '/');
/*     */ 
/* 148 */       this.sParam.updateParam("loginbk", this.strLoginbk);
/* 149 */       this.sParam.updateParam("mapkey", this.strMapKey);
/* 150 */       this.sParam.updateParam("orgname", this.strOrgName);
/* 151 */       this.sParam.updateParam("regcode", this.strRegCode);
/* 152 */       this.sParam.updateParam("uploadpath", this.strUploadpath);
/* 153 */       this.sParam.updateParam("installdir", this.strInstalldir);
/* 154 */       this.sParam.releaseRes();
/*     */     } catch (Exception localException) {
/*     */     }
/*     */   }
/*     */ 
/*     */   public void setCLat(String cLat) {
/* 160 */     this.strCLat = cLat;
/*     */   }
/*     */ 
/*     */   public void setCLng(String cLng) {
/* 164 */     this.strCLng = cLng;
/*     */   }
/*     */ 
/*     */   public void setLoginbk(String loginbk) {
/* 168 */     this.strLoginbk = loginbk;
/*     */     try {
/* 170 */       this.sParam = new sysParam("sysconfig");
/* 171 */       this.sParam.updateParam("loginbk", this.strLoginbk);
/* 172 */       this.sParam.releaseRes();
/*     */     } catch (Exception localException) {
/*     */     }
/*     */   }
/*     */ 
/*     */   public void setbtsLIP(String serbtsLIC, String loginbk) {
/* 178 */     this.strLoginbk = loginbk;
/*     */     try {
/* 180 */       this.sParam = new sysParam("sysconfig");
/* 181 */       this.sParam.updateParam(serbtsLIC, this.strLoginbk);
/* 182 */       this.sParam.releaseRes();
/*     */     } catch (Exception localException) {
/*     */     }
/*     */   }
/*     */ 
/*     */   public void resetLoginbk() {
/*     */     try {
/* 189 */       this.sParam = new sysParam("sysconfig");
/* 190 */       this.sParam.updateParam("loginbk", "");
/* 191 */       this.sParam.releaseRes();
/*     */     } catch (Exception localException) {
/*     */     }
/*     */   }
/*     */ 
/*     */   public void resetBtsLIP() {
/*     */     try {
/* 198 */       this.sParam = new sysParam("sysconfig");
/* 199 */       this.sParam.updateParamBQ("btsl", "");
/* 200 */       this.sParam.releaseRes();
/*     */     } catch (Exception localException) {
/*     */     }
/*     */   }
/*     */ 
/*     */   public void setMapKey(String MapKey) {
/* 206 */     this.strMapKey = MapKey;
/*     */   }
/*     */ 
/*     */   public void setOrgName(String OrgName) {
/* 210 */     this.strOrgName = OrgName;
/*     */   }
/*     */ 
/*     */   public void setPCenter(String PCenter) {
/* 214 */     this.strPCenter = PCenter;
/*     */   }
/*     */ 
/*     */   public void setPFilter(String PFilter) {
/* 218 */     this.strPFilter = PFilter;
/*     */   }
/*     */ 
/*     */   public void setRegCode(String RegCode) {
/* 222 */     this.strRegCode = RegCode;
/*     */   }
/*     */ 
/*     */   public void setUploadpath(String Uploadpath) {
/* 226 */     this.strUploadpath = Uploadpath;
/*     */   }
/*     */ 
/*     */   public void setInstalldir(String sInstalldir) {
/* 230 */     this.strInstalldir = sInstalldir;
/*     */   }
/*     */ }

/* Location:           E:\java\apache-tomcat-6.0.36\webapps\btsm\WEB-INF\classes\
 * Qualified Name:     btsm.bean.sysPro
 * JD-Core Version:    0.6.2
 */